package cn.tedu.oop;

public class Test5_Abstract3 {
    public static void main(String[] args) {
        System.out.println(new Demo2().age);
        System.out.println(new Demo2().name);
    }
}
abstract class Demo{
    int age = 10;
    final String name = "Demo";
}
class Demo2 extends Demo{

}